package com.jobchecks.common.enums;

import lombok.Getter;

/**
 *  对外接口统一响应码枚举
 *
 * @author huangjinjia
 */
@Getter
public enum RespCodeEnum {

    SUCCESS("请求成功", 200000),

    FAIL("请求失败", 999999),


    ;
    private int code;
    private String desc;

    RespCodeEnum(String desc,int code){
        this.desc = desc;
        this.code = code;
    }

}
